package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_rank_union_war_revive", desc = "巅峰商会战-复活", autoSave = true, uploadCk = true, isCross = true)
public class CrossRankUnionWarReviveLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "gameNo")
    private int gameNo;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionId ;
    @FieldTypeAnnotation(desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(desc = "第几阵")
    private int line;
    @FieldTypeAnnotation(desc = "门客所属的玩家id")
    private long patronUserId;
    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;
    @FieldTypeAnnotation(desc = "复活次数")
    private int reviveTimes;
    @FieldTypeAnnotation(desc = "消耗")
    private int cost;

    public CrossRankUnionWarReviveLog(int activityId, int gameNo, String unionId, long userId, int line, long patronUserId, int patronsId, int reviveTimes, int cost) {
        this.activityId = activityId;
        this.gameNo = gameNo;
        this.unionId = unionId;
        this.userId = userId;
        this.line = line;
        this.patronUserId = patronUserId;
        this.patronsId = patronsId;
        this.reviveTimes = reviveTimes;
        this.cost = cost;
    }

    public long getUserId() {
        return userId;
    }
}
